/**
 * 
 */
package com.itboye.ihomebank.util;

import android.app.Activity;
import android.app.AlertDialog;
import android.content.DialogInterface;
import android.widget.Toast;

import com.itboye.ihomebank.R;
import com.itboye.ihomebank.base.MyApplcation;

import static com.alibaba.mobileim.YWAccountType.wx;
import static com.itboye.ihomebank.R.drawable.xiaotong;
import static com.itboye.ihomebank.R.id.wx_selectBtn;
import static com.itboye.ihomebank.R.id.xiaotong_selectBtn;
import static com.itboye.ihomebank.R.id.yinhangka_selectBtn;
import static com.itboye.ihomebank.R.id.yue_selectBtn;
import static com.itboye.ihomebank.R.id.zhifubao_selectBtn;

/**
 * @author wu
 * 2016.9.4
 */
public class ByAlert {
	public static void alert(Object info) {
		if (info != null) {
			if (info.equals("用户ID缺失") || info.equals("UID不能为空")) {
				Toast.makeText(MyApplcation.ctx, "亲,你还未登录,登录后更精彩",
						3).show();
			} else {
				Toast.makeText(MyApplcation.ctx, info+"", 3).show();
			}
		}
	}
}
